<!--
    (c) 2007, Stephane Alnet
    
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 3
    of the License, or (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<!--
For timeslots, once the port has been configured (basically T1 or E1),
the idea is to list all the timeslots in the span and let the user decide for
each timeslot what they want to use it for.

So basically we'll have a list of 24 or 32 timeslot entries with a drop down
Channels that are not available (0 in E1) should be grayed out.
-->

    <!-- for $T = 1 .. (24|32) -->
    <label for="timeslot_${T}_group">Group</label>
    <radio name="timeslot_${T}_group">
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="Unused">Unused</option>
    </radio>
    <select name="timeslot_${T}_usage">
        <!-- ForTDMV_DCHAN accepted values are 0|16|24, 0 meaning no hardware HDLC -->
        <option value="dchan" >D-Channel (Q.921) with HW HDLC</option>
        <option value="bchan">
        

    <!-- /for -->

    <label for="<TMPL_VAR NAME="ts_group">${N}_usage">Group ${N}</label>
    <select name="<TMPL_VAR NAME="ts_group">${N}_usage">
        <option value="TDM D-Channel"   signaling_type="pri">TDM D-Channel (HW HDLC, Q.921)</option>
        <option value="SS7 Signaling Channel">SS7 Signaling Channel (MTP2)</option>
        <option value="SS7 Voice Channel">SS7 Voice Channel</option>
        <option value="TDM API">TDM API</option>
        <option value="TDM Bearer timeslot">Bearer timeslot</option>
        <option value="Data timeslot">Data timeslot</option>
    </select>

            
    <label for="tdm_api">Use TDM API</label>
    <input type="checkbox" name="tdm_api"></input>

    <label for="smg">Use SMG model</label>
    <input type="checkbox" name="smg"></input>


